package net.lab1024.sa.admin.module.system.user.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import net.lab1024.sa.base.common.domain.PageParam;
import org.hibernate.validator.constraints.Length;

@Data
public class UserQueryForm extends PageParam {
    @Schema(description = "用户编号")
    private String userId;
    @Schema(description = "名字")
    @Length(max = 50, message = "名字最多50字符")
    private String name;
    @Schema(description = "昵称")
    @Length(max = 50, message = "名字最多50字符")
    private String petName;
    @Schema(description = "用户类型")
    private Long userType;
    private String schoolName;
    private boolean isDel;
    @Schema(description = "搜索词")
    @Length(max = 30, message = "搜索词最多30字符")
    private String searchWord;
}
